package main.java.observer;

/**
 * 接收通知类
 */
public class WiexinUser implements Observer {
    String name;

    public WiexinUser(String name) {
        this.name = name;
    }

    @Override
    public void update(String message) {
        System.out.println(name + "-" + message);
    }
}
